package com.handinglian.ai.netty.response;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ClientRespPacket {
    private Integer code;

    private String description;

    private Object data;

    public ClientRespPacket(Integer code, String description, Object data) {
        this.code = code;
        this.description = description;
        this.data = data;
    }

    public ClientRespPacket(Integer code, String description) {
        this.code = code;
        this.description = description;
    }
}
